Install and use phpbench entor by kuco | published:
2011/04/07
Phpdocumentor is a tool written in PHP. For PHP programs with standardized annotations, it can quickly generate API documents with functions such as mutual reference and indexing.
Installation environment:The machine is installed with a EasyPHP-5.3.2i kit,
1
The installation directory is D: \ Program Files \ EasyPHP-5.3.2i \
2
Php.exe path is D: \ Program File
user table (Host, User, and Password) is used for identity check. The server accepts the connection only when the Host and user columns recorded in the User table match the client Host name and user name and provide the correct password.Specify the Host value in the user table:
* The Host value can be the Host name or IP number, or 'localhost' indicates the local Host.* You can use the wildcard characters "%" and "_" in the Host column value.* The Host value '%' matches any Host name. The NULL
'% ' matches any host name, the null host value is equivalent to '% '. They have the same meaning as the pattern-matching operation of the LIKE operator. For example, the '% ' host value matches all host names, while '%.mysql.com ' matches the mysql.com domainAll the hosts.
3, modify the Mysql configuration file My.ini
The code is as follows
Copy Code
Bind-address = 127.0.0.1
Comment out the line bind-address = 127.0.0.1, which is modified to:
1, the VPS (server) on the operation as follows
The code is as follows
Copy Code
Mkdir-p/root/software/vpnCd/root/software/vpn # Download Packageswget http://www.oberhumer.com/opensource/lzo/download/lzo-2.05.tar.gzwget http://swupdate.openvpn.net/community/releases/openvpn-2.2.1.tar.gz # Decompression and InstallationTar zxvf lzo-2.05.tar.gzcd/root/software/vpn/lzo-2.05./configureMakeMake install Tar zxvf openvpn-2.2.1.tar.gzcd/root/software/vpn/openvpn-2.2.1./confi
The code is as follows
Copy Code
#!/bin/bashD= "/root/backup"t= ' Date +%y%m%d 'if [!-d ' ${d}/${t} ']; Then/bin/mkdir "${d}/${t}"Fi/usr/local/mysql/bin/mysqldump--host=localhost--user=root--password= database password to back up the database name > "${d}/${t}/${t}.sql"CD ${d}/bin/tar-czf "${d}/${t}.tar.gz" "${t}"/USR/BIN/SCP "${d}/${t}.tar.gz" kuco@x4100.unix-center.net:~/web_backup/studyday.net
2, set Crontab, more Crontab
Set Ubuntu to allow remote connection to MySQL
Set Ubuntu to allow remote connection to MySQL. For security reasons, MySql-Server only allows access from local machines (localhost, 127.0.0.1. this is no problem for the website architecture of both Web-Server and MySql-Server on the same Server. however, as the website traffic increases, the Server architecture may put the Web-Server and MySql-Server on independent servers in the later stage to improve the performance, in this case, MySql-Server
Contact Us
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.